#include<bits/stdc++.h>
using namespace std;
using ll = long long;
ll n, a, b, c;
int main()
{
	cin >> n;
	while(n--)
	{
		cin >> a >> b >> c;
		if(c==a*b)
		{
			cout << "Lv Yan" << endl;
			;
		}
		else if(c==a+b)
		{
			cout << "Tu Dou" << endl;
		}
		else
			cout << "zhe du shi sha ya!" << endl;
	}
	return 0;
}
